package com.ruoyi.ies.service;

import java.util.List;
import com.ruoyi.ies.domain.VehicleMaintenance;

/**
 * 车辆维修Service接口
 *
 * @author July
 * @date 2023-06-12
 */
public interface IVehicleMaintenanceService
{
    /**
     * 查询车辆维修
     *
     * @param vehicleId 车辆维修主键
     * @return 车辆维修
     */
    public VehicleMaintenance selectVehicleMaintenanceByVehicleId(Long vehicleId);

    /**
     * 查询车辆维修列表
     *
     * @param vehicleMaintenance 车辆维修
     * @return 车辆维修集合
     */
    public List<VehicleMaintenance> selectVehicleMaintenanceList(VehicleMaintenance vehicleMaintenance);

    /**
     * 新增车辆维修
     *
     * @param vehicleMaintenance 车辆维修
     * @return 结果
     */
    public int insertVehicleMaintenance(VehicleMaintenance vehicleMaintenance);

    /**
     * 修改车辆维修
     *
     * @param vehicleMaintenance 车辆维修
     * @return 结果
     */
    public int updateVehicleMaintenance(VehicleMaintenance vehicleMaintenance);

    /**
     * 批量删除车辆维修
     *
     * @param vehicleIds 需要删除的车辆维修主键集合
     * @return 结果
     */
    public int deleteVehicleMaintenanceByVehicleIds(Long[] vehicleIds);

    /**
     * 删除车辆维修信息
     *
     * @param vehicleId 车辆维修主键
     * @return 结果
     */
    public int deleteVehicleMaintenanceByVehicleId(Long vehicleId);
}
